FluentForm\App\Modules\Payments\Classes\PaymentAction D

Total Complexity 158
Dependencies 7
Dependents 1
Total lines 873
Lines of code 662
Logical lines of code 384
Comment lines 24
Methods 17
Properties 16

Methods 17

Method Rating Maintainability Complexity Lines of code
getOrderItems()
C
35 24 87
applyDiscountCodes()
C
33 22 97
getSubscriptionItems()
C
34 22 91
setupData()
B
40 19 54
validateSubscriptionInputs()
A
41 15 51
draftFormEntry()
A
33 11 111
insertOrderItems()
A
45 11 42
getItemFromVariables()
A
49 7 32
checkForExistingSubmission()
S
55 7 19
pushItem()
S
55 4 19
getQuantity()
S
59 4 15
getCalculatedAmount()
S
62 3 12
isConditionPass()
S
62 3 11
getPaymentType()
S
79 2 3
getCurrency()
S
70 2 7
setSubmissionData()
S
72 1 5
__construct()
S
71 1 6